/********************************************************************
* Copyright (c) 2013,TGS,All rights reserved.
* fileName:	CompassItem.h	
* created:	2013/04/28 8:55

* version:	1.6
* detail: 
*********************************************************************/

#pragma once

#include <QGraphicsItem>

namespace TGS{
namespace MapControl{

class CompassItem : public QGraphicsPixmapItem
{
public:
	CompassItem(const QString& compassFilePath);
	~CompassItem(void);
public:
	void setCompassIcon(const QString& compassFilePath);
protected:
	void paint( QPainter* painter, const QStyleOptionGraphicsItem*, QWidget* );
	//QRectF boundingRect() const;
};

}//MapControl
}//TGS